package com.huatai.datadevelop.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 系统配置信息
 *
 * @author hecaiy
 */
@ApiModel(value = "系统配置信息实体类",description = "系统配置信息实体类")
@Data
@TableName("sys_config")
public class SysConfigEntity {

	@ApiModelProperty("系统配置信息id")
	@TableId
	private Long id;

	@ApiModelProperty("参数键值")
	@NotBlank(message="参数名不能为空")
	private String paramKey;

	@ApiModelProperty("参数")
	@NotBlank(message="参数值不能为空")
	private String paramValue;

	@ApiModelProperty("备注")
	private String remark;

}
